package com.alliky.mapper;

import com.alliky.my.mapper.MyMapper;
import com.alliky.pojo.Users;
import org.apache.ibatis.annotations.Param;

public interface UsersMapper extends MyMapper<Users> {

    /**
     * 检验用户名是否存在
     */
    int checkUsername(String username);

    Users selectLogin(@Param("username") String username,@Param("password") String password);
}